home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FishMarket 1.0
/
FishMarket v1.0.iso
/
fishies
/
051-075
/
disk_056
/
mergemem
/
poster
< prev
Wrap
Text File
|
1992-05-06
|
2KB
|
45 lines
Article 1908 of comp.sys.amiga:
Path: mcdsun!noao!hao!hplabs!decwrl!decvax!ucbvax!ucbcad!ames!sri-spam!rutgers!cbmvax!carolyn
From: carolyn@cbmvax.cbm.UUCP (Carolyn Scheppner)
Newsgroups: comp.sys.amiga
Subject: Re: Help! I can't seem to run a program > 2meg in my 4meg Amiga
Message-ID: <1329@cbmvax.cbmvax.cbm.UUCP>
Date: 2 Feb 87 22:04:10 GMT
References: <12032@lanl.ARPA>
Reply-To: carolyn@cbmvax.UUCP (Carolyn Scheppner)
Organization: Commodore Technology, West Chester, PA
Lines: 110
In article <12032@lanl.ARPA> jtw@lanl.ARPA (James West) writes:
>Could someone please explain why an AMIGA with a 4 megabyte memory expansion
>will only run tasks that total to 2 megabytes or less???
>
>Recently I added an AMERISTAR expansion bus with two 2 megabyte memory boards
>and a hard disk. I am running the new Amiga 1.2 operating system with the
>Absoft Fortran compiler. AmigaDos 1.2 auto configures memory, and
>automatically sees the 4 megabytes. I can easily copy 4 megabytes of files
>into the memory without any problems. It appears part of the operating system
>sees the 4 megabytes, but part does not. To be exact, the part of the
>operating system dictating memory available for running processes, appears
>to be seeing only 2 megabytes!
>...
Separate memory boards (such as Jim's 2 2-meg boards) are configured
as separate entities, each with its own entry in the system MemList
and its own MemHeader in its first 32 bytes.
Jim's programs apparently need a contiguous chunk of memory larger
than what is available in either individual board. The following
program "MergeMem.c" attempts to merge the MemList entries of
sequentially configured ram boards. I tested it with a 1/2 meg Alegra
plugged into the pass-thru of a 2-meg StarBoard. It successfully
merged the MemList entries of these two boards. After the merge,
I was able to AllocMem() a 2.1 megabyte chunk.
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Carolyn Scheppner -- CBM >>Amiga Technical Support<<
UUCP ...{allegra,caip,ihnp4,seismo}!cbmvax!carolyn
PHONE 215-431-9180
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=